package com.idanchuang.component.logback.converter;


import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import com.idanchuang.component.core.ServiceInfo;

public class HostPatternConverter extends ClassicConverter {

    @Override
    public String convert(ILoggingEvent iLoggingEvent) {
        return ServiceInfo.getHost();
    }
}
